package com.lancoo.znbkxx.teacher.aibkTestCoach.questionToEvaluation.aibkQuesEvalutionZW

import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.lancoo.znbkxx.teacher.R
import com.lancoo.znbkxx.teacher.aibkTestCoach.kBase.KBaseFragment
import com.lancoo.znbkxx.teacher.aibkTestCoach.networkRequest.entity.QuesEvaluationDetail

class QuesEvaluationFragmentParentZw (
        val activity: AppCompatActivity,
        val quesEvaluationDetail: QuesEvaluationDetail,
        val index:Int
) : KBaseFragment() {

    override fun createLayout(): Int {
        return R.layout.aibk_include_preview_answer_zw_view
    }

    override fun initView(view: View?) {
        //加载作答区域
        val fragment = QuesEvaluationChildFragmentWord(activity, quesEvaluationDetail,index)
        childFragmentManager.beginTransaction().add(R.id.Fragment, fragment).commit()
    }

}